package org.jeecg.modules.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.commodity.entity.Relationship;
import org.jeecg.modules.commodity.model.RelationshipModel;

import java.util.List;
import java.util.Map;

/**
 * @Auther: zhuzhuhong
 * @Date: 2019/11/14 10:00
 * @Description:
 */
public interface RelationShipService extends IService<Relationship> {

    List<RelationshipModel> findRelationShipModelByPage(String typeId);

    /**
    * 为商品类型配置滤芯
    * @Author zhuzhuhong
    * @Date  2019/11/14
    * @param paramerMap
    * @return
    */
    boolean saveRelationShip(Map<String, String> paramerMap);

}
